﻿using Microsoft.WindowsAPICodePack.Dialogs;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Windows;
using Microsoft.WindowsAPICodePack.Dialogs;
using System.IO;
using System.Drawing;
using System.Runtime.InteropServices;
using DLLCOM;

namespace thread_WPF
{
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow : Window
	{
		public MainWindow()
		{
			InitializeComponent();
		}

		private void Button_Click(object sender, RoutedEventArgs e)
		{
			f1.Content = new DLL_noDelegate();
		}

		private void Button_Click_1(object sender, RoutedEventArgs e)
		{
            f1.Content = new DLL_Delegate();
        }

		private void Button_Click_2(object sender, RoutedEventArgs e)
		{
			f1.Content = new ComTestXaml();
		}

		private void Button_Click_3(object sender, RoutedEventArgs e)
		{
			f1.Content = new RegEdit();
		}
	}
}
